﻿using System;
using System.Collections.Generic;
using System.Text;
using ManageEmployees.Models;
using System.Data;

namespace ManageEmployees
{
    class Utility
    {
        #region Constructors
        public Utility()
        {

        }
        #endregion

        #region Organizations
        public static List<Organization> OrganizationsList { get; set; }

        public static DataSet OrganizationsDataSource { get; set; }

        public static Organization GetOrganizationByOrganID(string organID)
        {
            return new Organization();
        }

        public static List<Organization> GetOrganizationsByParentID(string organID)
        {
            return new List<Organization>();
        }

        public static bool OrganizationsInsert(Organization objOrgan)
        {
            bool isFlag = true;
            return isFlag;
        }
        #endregion

        #region Employees
        public static List<Organization> EmployeesList { get; set; }

        public static DataSet EmployeesDataSource { get; set; }
        #endregion
    }
}